package org.example.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.example.pojo.Mysql;
import org.example.pojo.MysqlPojo;

import java.util.List;

public interface MysqlMapper {

    @Insert("INSERT INTO mysql VALUES(#{id},#{url})")
    int insertRes(MysqlPojo mysqlPojo);

    @Select("select * from mysql ")
    List<Mysql> selectResId();

}
